DisplayMode

enum DisplayMode : ProtocolMessageEnum

Protobuf enum meshtastic.Config.DisplayConfig.DisplayMode

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val COLOR_VALUE: Int = 3

TFT Full Color Displays (not implemented yet)
COLOR = 3;
Link copied to clipboard

Default. The old style for the 128x64 OLED screen
DEFAULT = 0;
Link copied to clipboard

Same as TwoColor, but with inverted top bar. Not so good for Epaper displays
INVERTED = 2;
Link copied to clipboard

Rearrange display elements to cater for bicolor OLED displays
TWOCOLOR = 1;

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): ConfigProtos.Config.DisplayConfig.DisplayMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.